# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq

if __name__ == '__main__':
    processor = AutoProcessor.from_pretrained("openai/whisper-tiny")
    model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-tiny")
    # model.summary()
    print(model)
    # Use a pipeline as a high-level helper
    # from transformers import pipeline
    #
    # pipe = pipeline("automatic-speech-recognition", model="openai/whisper-tiny")
